.class public abstract Les/bk;
.super Ljava/lang/Object;
.source "BaseAdProvider.java"

# interfaces
.implements Les/dk;


# instance fields
.field private a:Z

.field private b:Lcom/estrongs/android/pop/app/ad/cn/d;


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    return-void
.end method


# virtual methods
.method public a(Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;)V
    .locals 2

    .line 12
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/ad/cn/AdType;->getTag()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "_"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v1, " onADClicked"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "AdManager"

    invoke-static {v1, v0}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 13
    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object v0

    const-string v1, "click"

    invoke-static {v1, p1, v0}, Lcom/estrongs/android/pop/app/ad/cn/f;->a(Ljava/lang/String;Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/AdChannel;)V

    if-eqz p2, :cond_0

    .line 14
    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object p1

    invoke-interface {p2, p1}, Lcom/estrongs/android/pop/app/ad/cn/b;->b(Lcom/estrongs/android/pop/app/ad/cn/AdChannel;)V

    :cond_0
    return-void
.end method

.method public a(Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;ILjava/lang/String;)V
    .locals 2

    .line 3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/ad/cn/AdType;->getTag()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "_"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v1, " onADError = "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "AdManager"

    invoke-static {v1, v0}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 4
    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object v0

    const-string v1, "error"

    invoke-static {v1, p1, v0, p3, p4}, Lcom/estrongs/android/pop/app/ad/cn/f;->a(Ljava/lang/String;Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/AdChannel;ILjava/lang/String;)V

    .line 5
    iget-boolean p1, p0, Les/bk;->a:Z

    if-eqz p1, :cond_0

    if-eqz p2, :cond_1

    .line 6
    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object p1

    invoke-interface {p2, p1, p3, p4}, Lcom/estrongs/android/pop/app/ad/cn/b;->a(Lcom/estrongs/android/pop/app/ad/cn/AdChannel;ILjava/lang/String;)V

    goto :goto_0

    .line 7
    :cond_0
    iget-object p1, p0, Les/bk;->b:Lcom/estrongs/android/pop/app/ad/cn/d;

    if-eqz p1, :cond_1

    .line 8
    invoke-interface {p1}, Lcom/estrongs/android/pop/app/ad/cn/d;->a()V

    :cond_1
    :goto_0
    return-void
.end method

.method public a(Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;Landroid/view/View;)V
    .locals 2

    .line 9
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/ad/cn/AdType;->getTag()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "_"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v1, " onADShow"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "AdManager"

    invoke-static {v1, v0}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 10
    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object v0

    const-string v1, "show"

    invoke-static {v1, p1, v0}, Lcom/estrongs/android/pop/app/ad/cn/f;->a(Ljava/lang/String;Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/AdChannel;)V

    if-eqz p2, :cond_0

    .line 11
    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object p1

    invoke-interface {p2, p1, p3}, Lcom/estrongs/android/pop/app/ad/cn/b;->a(Lcom/estrongs/android/pop/app/ad/cn/AdChannel;Landroid/view/View;)V

    :cond_0
    return-void
.end method

.method public a(Lcom/estrongs/android/pop/app/ad/cn/d;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/bk;->b:Lcom/estrongs/android/pop/app/ad/cn/d;

    return-void
.end method

.method public a(Z)V
    .locals 0

    .line 2
    iput-boolean p1, p0, Les/bk;->a:Z

    return-void
.end method

.method public b(Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;)V
    .locals 1

    .line 1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Ljava/lang/Enum;->name()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "_"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string p1, " onADDismissed"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string v0, "AdManager"

    invoke-static {v0, p1}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    if-eqz p2, :cond_0

    .line 2
    invoke-interface {p0}, Les/dk;->c()Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    move-result-object p1

    invoke-interface {p2, p1}, Lcom/estrongs/android/pop/app/ad/cn/b;->a(Lcom/estrongs/android/pop/app/ad/cn/AdChannel;)V

    :cond_0
    return-void
.end method
